<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="tools" uri="/WEB-INF/tld/ade-tools-tag.tld"%>
<%@ taglib prefix="string" uri="/WEB-INF/tld/ade-string-tags.tld"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xiazai</title>

<script type="text/javascript"
  src="${pageContext.request.contextPath}/resources/plugins/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8">
  console.debug();
</script>
</head>

<body>
  <span>下载附件demo</span>

  <c:forEach items="${data.attachsPage}" var="data1" varStatus="varStatus">
    <div>
      <a href="${pageContext.request.contextPath}/content/download?id=${data1.id}">${data1.name}&nbsp;&nbsp;</a>
    </div>
  </c:forEach>
</body>
</html>
